package com.swim.pay.service;

import com.swim.pay.bean.AliPayBean;

import java.util.Map;

/**
 * @Author tql
 * @Description PayService
 * @Date 21-3-12 下午3:20
 * @Version 1.0
 */
public interface PayService {

    /**
     * 调取订单支付
     *
     * @param outTradeNo
     * @param totalFee
     * @return
     */
    Map<String, String> getWeixinPayCodeUrl(String outTradeNo, String totalFee, String tradeType);

    /**
     * 获取订单状态
     *
     * @param outTradeNo
     * @return
     */
    Map<String, String> queryWeixinPayStatus(String outTradeNo);


    /**
     * 支付宝支付调用
     *
     * @param aliPayBean
     * @return
     */
    String mreadPaymentRequest(AliPayBean aliPayBean);
}
